package com.powernode.model.entity.driver;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.powernode.model.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

@EqualsAndHashCode(callSuper = false)
@Data
@Schema(description = "DriverLoginLog")
@TableName("driver_login_log")
public class DriverLoginLog extends BaseEntity {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "配送员id")
    @TableField("driver_id")
    private Long driverId;
    @Schema(description = "登录IP地址")
    @TableField("ipaddr")
    private String ipaddr;
    @Schema(description = "登录状态（0：成功、1：失败）")
    @TableField("status")
    private Boolean status;
    @Schema(description = "提示信息")
    @TableField("msg")
    private String msg;
}